package com.easylinkin.linkappapi.alarm.entity;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Map;

/**
 * class info :
 *
 * @author liuqihang
 * @date 2021/9/26 16:39
 */
@Data
public class AlarmAnalyzeStatistic {

    private Map<String, AlarmCount> data;

    private Map<String, Integer> sortData;

    /**
     * 已处理告警统计
     */
    private Map<String, Integer> alarmHandlerCount;

    /**
     * 未处理告警统计
     */
    private Map<String, Integer> alarmUnHandlerCount;

    @Getter
    @Setter
    @Accessors(chain = true)
    public static class AlarmCount{
        private Integer handlerCount;
        private Integer unHandlerCount;
    }
}
